<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>jquery使用</title>
		<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
		<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
		<script>
			function showImg(){
				$("#myimage").show();}
			function hideImg(){
				$("#myimage").hide();
				//document.getElementbyid("myimage")
			}
		</script>
	</head>
	<body>
		<img id="myimage" src="img/115f763534a59fe78736ae575f3f012b92f0bb4f5a9f6a-ig.jpg" />
		<br>
		<button onclick="showImg()">显示图片</button>
		<button onclick="hideImg()">隐藏图片</button>
	</body>
</html>
